<template>
  <view class="uni-padding-wrap">
    <web-view src="https://manage.jwk2022.cn/openapiv2/index/getSharePic"></web-view>
  </view>
</template>

<script>
export default {
  methods: {
    fetchHtmlContent() {
      const that = this;
      uni.request({
        url: 'https://manage.jwk2022.cn/openapiv2/index/getSharePic',
        method: 'POST',
        data: {
          // POST数据
        },
        success: (res) => {
          // 将HTML内容转换为一个可以在web-view中访问的URL
          that.htmlUrl = '生成的HTML内容URL';
        },
        fail: (err) => {
          console.error('请求失败:', err);
        }
      });
    }
  },
  onShow() {
    this.fetchHtmlContent();
  }
};
</script>

<style>
/* 样式 */
</style>